Get total points for a user
GET/points/:entityType/:userID/total
This endpoint returns all points
Request
Path Parameters
userID stringrequired
The user ID of the user to get points for
entityType stringrequired
Possible values: [user
, group
]
The entity type of the user to get points for
Responses
- 200
A list of points
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
total integerrequired
the total number of points for this user
[
{
"total": 0
}
]
Loading...